package com.snow.it.common.statemachine.yarn.state;

/**
 * Hook for Transition. This lead to state machine to move to 
 * the post state as registered in the state machine.
 */
public interface SingleArcTransition<OPERAND, EVENT> {
	/**
	 * Transition hook.
	 * 
	 * @param operand
	 *            the entity attached to the FSM, whose internal state may
	 *            change.
	 * @param event
	 *            causal event
	 */
	public void transition(OPERAND operand, EVENT event);

}
